package com.hntest.entity;
//用户提现表
import java.io.Serializable;
import java.math.BigDecimal;

public class MoneyWithdraw extends BaseAuditDomain implements Serializable {
    private static final long serialVersionUID = 8901112721575003005L;
    public static final int MONEY_WITHDRAW_NONE= 0; //默认转账状态
    public static final int MONEY_WITHDRAWTRANSFERED=1;//已转账
    public static final int MONEY_WITHDR4W_FAILED= 2;//转账失败
    public static final int MONEY_WITHDRAW_ABORT=3;//用户撤销提现

    private Integer mwdid;
    private String accountNumber;//银行卡号
    private String bankname;//银行类型
    private String bankforkname;//开户行
    private String realName; //真实姓名
    private BigDecimal moneyAmount = BigDecimal.ZERO; //提现金额
    private BigDecimal charge = BigDecimal.ZERO; //手续费
    private int withDrawState = MONEY_WITHDRAW_NONE;//转账状态

    public MoneyWithdraw(){}

    public MoneyWithdraw(Integer mwdid, String accountNumber, String bankname, String bankforkname, String realName, BigDecimal moneyAmount, BigDecimal charge, int withDrawState) {
        this.mwdid = mwdid;
        this.accountNumber = accountNumber;
        this.bankname = bankname;
        this.bankforkname = bankforkname;
        this.realName = realName;
        this.moneyAmount = moneyAmount;
        this.charge = charge;
        this.withDrawState = withDrawState;
    }

    public Integer getMwdid() {
        return mwdid;
    }

    public void setMwdid(Integer mwdid) {
        this.mwdid = mwdid;
    }

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public String getBankforkname() {
        return bankforkname;
    }

    public void setBankforkname(String bankforkname) {
        this.bankforkname = bankforkname;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public BigDecimal getMoneyAmount() {
        return moneyAmount;
    }

    public void setMoneyAmount(BigDecimal moneyAmount) {
        this.moneyAmount = moneyAmount;
    }

    public BigDecimal getCharge() {
        return charge;
    }

    public void setCharge(BigDecimal charge) {
        this.charge = charge;
    }

    public int getWithDrawState() {
        return withDrawState;
    }

    public void setWithDrawState(int withDrawState) {
        this.withDrawState = withDrawState;
    }
}
